﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000325 RID: 805
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ClockParkUseBuffCsReq : IMessage<ClockParkUseBuffCsReq>, IMessage, IEquatable<ClockParkUseBuffCsReq>, IDeepCloneable<ClockParkUseBuffCsReq>, IBufferMessage
	{
		// Token: 0x17000A67 RID: 2663
		// (get) Token: 0x060023FE RID: 9214 RVA: 0x00065929 File Offset: 0x00063B29
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ClockParkUseBuffCsReq> Parser
		{
			get
			{
				return ClockParkUseBuffCsReq._parser;
			}
		}

		// Token: 0x17000A68 RID: 2664
		// (get) Token: 0x060023FF RID: 9215 RVA: 0x00065930 File Offset: 0x00063B30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ClockParkUseBuffCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000A69 RID: 2665
		// (get) Token: 0x06002400 RID: 9216 RVA: 0x00065942 File Offset: 0x00063B42
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ClockParkUseBuffCsReq.Descriptor;
			}
		}

		// Token: 0x06002401 RID: 9217 RVA: 0x00065949 File Offset: 0x00063B49
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkUseBuffCsReq()
		{
		}

		// Token: 0x06002402 RID: 9218 RVA: 0x00065951 File Offset: 0x00063B51
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkUseBuffCsReq(ClockParkUseBuffCsReq other) : this()
		{
			this.uniqueId_ = other.uniqueId_;
			this.scriptId_ = other.scriptId_;
			this.bEBCFIIABLI_ = other.bEBCFIIABLI_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002403 RID: 9219 RVA: 0x0006598E File Offset: 0x00063B8E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkUseBuffCsReq Clone()
		{
			return new ClockParkUseBuffCsReq(this);
		}

		// Token: 0x17000A6A RID: 2666
		// (get) Token: 0x06002404 RID: 9220 RVA: 0x00065996 File Offset: 0x00063B96
		// (set) Token: 0x06002405 RID: 9221 RVA: 0x0006599E File Offset: 0x00063B9E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ulong UniqueId
		{
			get
			{
				return this.uniqueId_;
			}
			set
			{
				this.uniqueId_ = value;
			}
		}

		// Token: 0x17000A6B RID: 2667
		// (get) Token: 0x06002406 RID: 9222 RVA: 0x000659A7 File Offset: 0x00063BA7
		// (set) Token: 0x06002407 RID: 9223 RVA: 0x000659AF File Offset: 0x00063BAF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ScriptId
		{
			get
			{
				return this.scriptId_;
			}
			set
			{
				this.scriptId_ = value;
			}
		}

		// Token: 0x17000A6C RID: 2668
		// (get) Token: 0x06002408 RID: 9224 RVA: 0x000659B8 File Offset: 0x00063BB8
		// (set) Token: 0x06002409 RID: 9225 RVA: 0x000659C0 File Offset: 0x00063BC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BEBCFIIABLI
		{
			get
			{
				return this.bEBCFIIABLI_;
			}
			set
			{
				this.bEBCFIIABLI_ = value;
			}
		}

		// Token: 0x0600240A RID: 9226 RVA: 0x000659C9 File Offset: 0x00063BC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ClockParkUseBuffCsReq);
		}

		// Token: 0x0600240B RID: 9227 RVA: 0x000659D8 File Offset: 0x00063BD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ClockParkUseBuffCsReq other)
		{
			return other != null && (other == this || (this.UniqueId == other.UniqueId && this.ScriptId == other.ScriptId && this.BEBCFIIABLI == other.BEBCFIIABLI && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600240C RID: 9228 RVA: 0x00065A34 File Offset: 0x00063C34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.UniqueId != 0UL)
			{
				num ^= this.UniqueId.GetHashCode();
			}
			if (this.ScriptId != 0U)
			{
				num ^= this.ScriptId.GetHashCode();
			}
			if (this.BEBCFIIABLI != 0U)
			{
				num ^= this.BEBCFIIABLI.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600240D RID: 9229 RVA: 0x00065AA5 File Offset: 0x00063CA5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600240E RID: 9230 RVA: 0x00065AAD File Offset: 0x00063CAD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600240F RID: 9231 RVA: 0x00065AB8 File Offset: 0x00063CB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ScriptId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.ScriptId);
			}
			if (this.UniqueId != 0UL)
			{
				output.WriteRawTag(56);
				output.WriteUInt64(this.UniqueId);
			}
			if (this.BEBCFIIABLI != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.BEBCFIIABLI);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002410 RID: 9232 RVA: 0x00065B2C File Offset: 0x00063D2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.UniqueId != 0UL)
			{
				num += 1 + CodedOutputStream.ComputeUInt64Size(this.UniqueId);
			}
			if (this.ScriptId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ScriptId);
			}
			if (this.BEBCFIIABLI != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BEBCFIIABLI);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002411 RID: 9233 RVA: 0x00065B9C File Offset: 0x00063D9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ClockParkUseBuffCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.UniqueId != 0UL)
			{
				this.UniqueId = other.UniqueId;
			}
			if (other.ScriptId != 0U)
			{
				this.ScriptId = other.ScriptId;
			}
			if (other.BEBCFIIABLI != 0U)
			{
				this.BEBCFIIABLI = other.BEBCFIIABLI;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002412 RID: 9234 RVA: 0x00065C00 File Offset: 0x00063E00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002413 RID: 9235 RVA: 0x00065C0C File Offset: 0x00063E0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 56U)
					{
						if (num != 112U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.BEBCFIIABLI = input.ReadUInt32();
						}
					}
					else
					{
						this.UniqueId = input.ReadUInt64();
					}
				}
				else
				{
					this.ScriptId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000E9F RID: 3743
		private static readonly MessageParser<ClockParkUseBuffCsReq> _parser = new MessageParser<ClockParkUseBuffCsReq>(() => new ClockParkUseBuffCsReq());

		// Token: 0x04000EA0 RID: 3744
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000EA1 RID: 3745
		public const int UniqueIdFieldNumber = 7;

		// Token: 0x04000EA2 RID: 3746
		private ulong uniqueId_;

		// Token: 0x04000EA3 RID: 3747
		public const int ScriptIdFieldNumber = 1;

		// Token: 0x04000EA4 RID: 3748
		private uint scriptId_;

		// Token: 0x04000EA5 RID: 3749
		public const int BEBCFIIABLIFieldNumber = 14;

		// Token: 0x04000EA6 RID: 3750
		private uint bEBCFIIABLI_;
	}
}
